//对API进行统一管理
import requests from './request'
import reqnoid from './reqNoId'

//接口：登录
export const reqLogin = (data)=>requests({
  url:'/open/user/login2',
  method:'post',
  data, 
});

//接口：工作台数据
export const reqWorkList = ()=>requests({
  url:'/auth/work',
  method:'get', 
});

//接口：订单列表
export const reqOrderList = ()=>requests({
  url:'/auth/order/list2',
  method:'post', 
});

//接口：文件下载
export const reqOrderDow = (data)=>reqnoid({
  url:'/auth/order/download2',
  method:'post', 
  data,
});

//接口：修改密码
export const reqUserPwd = (data)=>reqnoid({
  url:'/auth/user/password2',
  method:'post', 
  data,
});